Tegra210: suspend/resume bpmp interface across System Suspend
authorVarun Wadekar <[email protected]>
Wed, 4 Apr 2018 18:14:05 +0000 (11:14 -0700)
committerVarun Wadekar <[email protected]>
Thu, 31 Jan 2019 16:50:02 +0000 (08:50 -0800)
commite275ae7ae50d8cca292ef75dffab08ab296a273b
treec85ab700b353f9110c09470c2fc36ba7187cccb8
parentd37a1322a0ec632880b4f5f4acd22bc1ade0d186
Tegra210: suspend/resume bpmp interface across System Suspend

The BPMP firmware takes some time to initialise its state on exiting
System Suspend state. The CPU needs to synchronize with the BPMP during
this process to avoid any race conditions. This patch suspends and resumes
the BPMP interface across a System Suspend cycle, to fix this race.

Change-Id: I82a61d12ef3eee267bdd8d4386bed23397fbfd2d
Signed-off-by: Varun Wadekar <[email protected]>
plat/nvidia/tegra/soc/t210/plat_psci_handlers.c